home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Games Collection 1
/
software vault.zip
/
software vault
/
CDR10
/
MAPEDIT.ZIP
/
SAMPGAME
/
TEXT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-11
|
391b
|
25 lines
#include "cyber.h"
fputxys(int px, int py, char *string)
{
while(*string)
{
pch(px,py,*string);
string++;
px+=8;
}
}
pch(int px,int py,unsigned int outchar)
{
register char loop;
for(loop=0;loop<8;loop++)
{
memcpy(scrptr+(py+loop)*320+px,csptr+(((outchar/40)*8)+loop)*320+((outchar%40)*8),8);
}
}